projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7ad83b6
)
Bloatpad: Don't leak a menu model
author
Matthias Clasen
<mclasen@redhat.com>
Thu, 1 Dec 2011 22:41:46 +0000
(17:41 -0500)
committer
Ryan Lortie
<desrt@desrt.ca>
Mon, 19 Dec 2011 17:51:09 +0000
(12:51 -0500)
examples/bloatpad.c
patch
|
blob
|
history
diff --git
a/examples/bloatpad.c
b/examples/bloatpad.c
index 1a2a050e685b78fe340b725ee3086598fcd26cfe..d0614d10d20df262248ce6ed66eb206be962d76b 100644
(file)
--- a/
examples/bloatpad.c
+++ b/
examples/bloatpad.c
@@
-188,6
+188,7
@@
create_window_menu (void)
menu = g_menu_new ();
g_menu_append_submenu (menu, "_Edit", (GMenuModel*)edit_menu);
+ g_object_unref (edit_menu);
return G_MENU_MODEL (menu);
}